package com.haina.shop.vo;

import com.haina.shop.dto.OrderItemDto;
import com.haina.shop.dto.OrderItemDto2;
import com.haina.shop.dto.UserAddrDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetailVO {
    private Long shopId;//	店铺id	integer(int64)
    private String shopName;//	店铺名称	string
    private BigDecimal actualTotal;//	实际总值	number(double)
    private BigDecimal total;//	商品总值	number(double)
    private Integer totalNum;//	商品总数	integer(int32)
    private UserAddrDto userAddrDto	;//地址Dto	UserAddrDto
    private List<OrderItemDto2> orderItemDtos;//	产品信息	array	OrderItemDto2
    private BigDecimal transfee	;//运费	number(double)
    private BigDecimal reduceAmount;//	优惠总额	number(double)
    private BigDecimal discountMoney;//	促销活动优惠金额	number(double)
    private BigDecimal couponMoney;//	优惠券优惠金额	number(double)
    private String createTime;//	订单创建时间	string(date-time)
    private String remarks;//	订单备注信息	string
    private Integer status;//	订单状态	integer(int32)
}
